package com.skywolf.chem.match.params.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.skywolf.chem.match.params.param.ApplyUserInfoParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 活动详情
 *
 * @Author sj
 * Date on 2021/9/26  13:42
 * @Version 1.0
 */
@Data
public class MatchInfoQueryVo {

    @ApiModelProperty("编号")
    private Long id;

    @ApiModelProperty("报名状态  201->>报名未开始    202->>报名进行中   203->>报名结束")
    private Integer applyStatus;

    @ApiModelProperty("赛事开始时间-赛事结束时间")
    private String matchTime;

    @ApiModelProperty("报名开始时间-报名开始时间")
    private String applyTime;

    @ApiModelProperty("赛事名称")
    private String matchName;

    @ApiModelProperty("收藏状态  0为收藏 1为未收藏")
    private Integer collectStatus;

    @ApiModelProperty(value = "活动图片地址")
    private String activityPicUrl;

    @ApiModelProperty(value = "赛事介绍图片地址")
    private String matchIntroduceUrl;

    @ApiModelProperty("主办方列表")
    private List<SponsorQueryVo> sponsorList;

    @ApiModelProperty("赛事状态  104->>活动未开始   105->>进行中   106->>已结束")
    private Integer status;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "详细地址(省 市 县 详细地址)")
    private String address;

    @ApiModelProperty(value = "赛事级别")
    private String level;

    @ApiModelProperty(value = "场地类型")
    private String siteType;

    @ApiModelProperty(value = "活动自定义字段",hidden = true)
    @JsonIgnore
    private String customTag;

    @ApiModelProperty(value = "活动自定义字段")
    private  List<ApplyUserInfoParam.ApplyUserCustomTagModel> customTagList;
    
    @ApiModelProperty(value = "是否时职业赛事 0-非职业赛事 1-职业赛事")
    private Integer professional;

    @Data
    public static class SponsorQueryVo {

        @ApiModelProperty(value = "主办方")
        private String sponsor;

        @ApiModelProperty(value = "联系方式")
        private String phone;
    }
}


